package com.office.service.impl;

import com.office.bean.MajorType;
import com.office.mapper.MajorTypeMapper;
import com.office.service.MajorTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MajorTypeServiceImpl implements MajorTypeService {


    @Autowired
    MajorTypeMapper majorTypeMapper;

    @Override
    public List<MajorType> findMajorTypes() {
        return majorTypeMapper.findMajorTypes();
    }
}
